package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TResourceProgress;
import com.ruoyi.business.vo.TResourceProgressVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学习进度Mapper接口
 *
 * @author Tellsea
 * @date 2024-07-22
 */
public interface TResourceProgressMapper extends BaseMapper<TResourceProgress> {

    Page<TResourceProgressVo> queryList(Page<?> page, @Param("entity") TResourceProgressVo entity);

    List<TResourceProgressVo> queryList(@Param("entity") TResourceProgressVo entity);

    TResourceProgressVo queryById(@Param("id") Long id);

}
